package org.wlw.computer;

//增加硬盘功能
public class MainBoard {
	CPU cpu;
	Memory mem;
	VideoCard videoCard;
	String band;
	
	public MainBoard(CPU cpu, Memory mem, VideoCard videoCard, String band) {
		super();
		this.cpu = cpu;
		this.mem = mem;
		this.videoCard = videoCard;
		this.band = band;
	}
	
	void powerOn() {
		System.out.println(band);
		cpu.calculate();
		mem.save();
		videoCard.display();
		System.out.println("win 10.......");
	}

}
